import { tableColumnsTooltipFieId } from '@/utils/tableColumnsTooltipFieId'

let tableColumns: any = [
    {
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 50,
        showDisabledCheckboxes: false,
        pinned: 'left',
        autoHeaderHeight: true
    },
    {
        field: 'shelveName',
        width: 90,
        autoHeaderHeight: true,
        headerName: '日期',
    },
    {
        headerName: '厂部',
        headerClass: 'my-header-class',
        children: [
            // {
            // headerName: '日期', field: 'athlete',
            // children: [
            //     { headerName: '日期', field: 'athlete' },
            // ],

            // },
            {
                headerName: '计划WIP',
                headerClass: 'my-header-class',

                children: [
                    {
                        headerName: '重量',

                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    {
                        headerName: '匹数',
                        headerClass: 'my-header-class',
                        width: 80, field: 'age'
                    }
                ],
            },
            {
                headerName: '生产WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '查布WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '修补WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '待入仓WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '库存WIP ',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },

        ],
    },

]
let tableColumns1: any = [
    {
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 50,
        showDisabledCheckboxes: false,
        pinned: 'left',
        autoHeaderHeight: true
    },
    { field: '日期', width: 90, autoHeaderHeight: true },
    {
        headerName: '本集团',
        children: [
            // {
            // headerName: '日期', field: 'athlete',
            // children: [
            //     { headerName: '日期', field: 'athlete' },
            // ],

            // },
            {
                headerName: '计划WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '生产WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '查布WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '修补WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '待入仓WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '库存WIP ',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },

        ],
    },

]
let tableColumns2: any = [
    {
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 50,
        showDisabledCheckboxes: false,
        pinned: 'left',
        autoHeaderHeight: true
    },
    { field: '日期', width: 90, autoHeaderHeight: true },
    {
        headerName: '外加工',
        children: [
            // {
            // headerName: '日期', field: 'athlete',
            // children: [
            //     { headerName: '日期', field: 'athlete' },
            // ],

            // },
            {
                headerName: '计划WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '生产WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '查布WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '修补WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '待入仓WIP',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },
            {
                headerName: '库存WIP ',
                children: [
                    {
                        headerName: '重量',
                        headerClass: 'my-header-class',
                        width: 80, field: 'athlete'
                    },
                    { headerName: '匹数', width: 80, field: 'age' }
                ],
            },

        ],
    },

]
tableColumnsTooltipFieId(tableColumns)
tableColumnsTooltipFieId(tableColumns1)
tableColumnsTooltipFieId(tableColumns2)
export {
    tableColumns,
    tableColumns1,
    tableColumns2,
}